Vendidero\Shiptastic\ShippingProvider\Service C

Total Complexity 102
Dependencies 4
Dependents 2
Total lines 483
Lines of code 331
Logical lines of code 149
Comment lines 33
Methods 31
Properties 17

Methods 31

Method Rating Maintainability Complexity Lines of code
supports()
B
44 21 43
__construct()
A
41 11 54
get_setting_id()
S
49 7 30
validate_label_request()
S
50 7 28
get_value()
S
55 7 19
get_setting_fields()
S
50 6 28
supports_shipment()
S
61 6 13
get_label_fields()
S
53 4 22
supports_country()
S
63 4 10
book_as_default()
S
66 3 8
get_show_if_attributes()
S
66 2 9
get_label_field_id()
S
68 2 7
get_shipping_provider()
S
71 2 6
supports_product()
S
77 2 3
get_products()
S
79 2 3
get_additional_setting_fields()
S
82 1 3
get_options()
S
82 1 3
supports_zone()
S
79 1 3
supports_shipment_type()
S
79 1 3
get_zones()
S
82 1 3
get_general_hook_prefix()
S
78 1 3
supports_location()
S
79 1 3
get_default_value()
S
82 1 3
get_locations()
S
82 1 3
get_long_description()
S
82 1 3
get_option_type()
S
82 1 3
get_description()
S
82 1 3
get_label()
S
82 1 3
get_internal_id()
S
82 1 3
get_id()
S
82 1 3
get_additional_label_fields()
S
82 1 3